import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);

// // 全局引入swiper
// import VAS from 'vue-awesome-swiper'
// Vue.use(VAS)
// import 'swiper/css/swiper.css'

/**引入全局变量,方便组件调用模块API */
import httpApi from "@/http/index";
Vue.prototype.$http = httpApi;

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
